﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MethodWorx.CMS.UI.Application;
using StructureMap;
using MethodWorx.CMS.Plugins;

namespace MethodWorx.CMS.UI.Tests.Dependencies
{
    [TestClass]
    public class DomainRegistryTests
    {
        [TestMethod]
        public void Ensure_IPluginRepository_Is_A_PluginRepository()
        {
            BootStrapper.ConfigureStructureMap();
            Assert.IsInstanceOfType(ObjectFactory.GetInstance<IPluginRepository>(), typeof(PluginRepository));
        }
    }
}
